package com.skd.mall.seckill.dto;

import com.skd.mall.seckill.vo.SkuInfoVo;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 封装SKU相关信息，保存到Redis中的传输对象
 */
@Data
public class SeckillSkuRedisDto {
    private Long skuId;
    /**
     * 秒杀价格
     */
    private BigDecimal seckillPrice;
    /**
     * 秒杀总量
     */
    private BigDecimal seckillCount;
    /**
     * 每人限购数量
     */
    private BigDecimal seckillLimit;
    /**
     * 排序
     */
    private Integer seckillSort;

   //活动ID
    private Long promotionSessionId;

    private Long startTime;

    private Long endTime;

    private String randCode;

    private SkuInfoVo skuInfoVo;

}
